package
{	
	import flash.display.Sprite;
	import flash.events.Event;
	import com.dolo.game.hero.ApplicationFacade;
	/**
	 * 
	 * @author dwz
	 * 
	 */	
	public class MainApplication extends Sprite
	{
		public function MainApplication()
		{
			super.addEventListener( Event.ADDED_TO_STAGE, onAddedToStage, false, 0, true );
		}
		private function onAddedToStage( event:Event ):void
		{
			init();
		}
		
		private function init():void
		{
			
			initModule();
			
			ApplicationFacade.getInstance().startup( this );
		}
		/**
		 *初始化游戏中各个面板模块 
		 * 
		 */		
		private function initModule():void
		{
			
		}

	}
}